import { createRouter, createWebHistory } from "vue-router";
import Home from "../src/components/views/home.vue";

const routes = [
	{
		path: "/",
		name: "Home",	
		component: Home,
	},
	{
		path: "/about",
		name: "About",
		component: () =>import("../src/components/views/about.vue"),
	},
	{
		path: "/login",
		name: "Login",
		component: () =>import("../src/components/views/login.vue"),
	},
	{
		path: "/register",
		name: "Register",
		component: () =>import("../src/components/views/register.vue"),
	},
];
const router = createRouter({
	history: createWebHistory(),
	routes,
});

export default router;
